package ogr.ktjy.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lwj
 * @since 2024-03-07
 */
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    @TableId(value = "odr_id", type = IdType.AUTO)
    private Long odrId;

    /**
     * 客户编号
     */
    private String odrCustomer;

    /**
     * 日期
     */
    private LocalDateTime odrDate;

    /**
     * 送货地址
     */
    private String odrAddr;

    /**
     * 状态
     */
    private String odrStatus;

    public Long getOdrId() {
        return odrId;
    }

    public void setOdrId(Long odrId) {
        this.odrId = odrId;
    }

    public String getOdrCustomer() {
        return odrCustomer;
    }

    public void setOdrCustomer(String odrCustomer) {
        this.odrCustomer = odrCustomer;
    }

    public LocalDateTime getOdrDate() {
        return odrDate;
    }

    public void setOdrDate(LocalDateTime odrDate) {
        this.odrDate = odrDate;
    }

    public String getOdrAddr() {
        return odrAddr;
    }

    public void setOdrAddr(String odrAddr) {
        this.odrAddr = odrAddr;
    }

    public String getOdrStatus() {
        return odrStatus;
    }

    public void setOdrStatus(String odrStatus) {
        this.odrStatus = odrStatus;
    }

    @Override
    public String toString() {
        return "Orders{" +
        "odrId = " + odrId +
        ", odrCustomer = " + odrCustomer +
        ", odrDate = " + odrDate +
        ", odrAddr = " + odrAddr +
        ", odrStatus = " + odrStatus +
        "}";
    }
}
